home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
pvm34b3.zip
/
pvm34b3
/
pvm3
/
tracer
/
Makefile.mak
< prev
next >
Wrap
Makefile
|
1997-07-22
|
2KB
|
77 lines
#*************************************************************#
#
# $Id: Makefile.mak,v 4.1 1997/06/25 21:55:38 pvmsrc Exp $
#
# Nmake file for the PVM tracer
#
# PVM_ARCH = the official pvm-name of your processor
# ARCHCFLAGS = special cc flags
#
# USER installation specific part -- to be modified
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!include $(PVM_ROOT)\conf\$(PVM_ARCH).def
INCL = /I $(PVM_ROOT)/include /I $(PVM_ROOT)/tracer \
/I $(PVM_ROOT)/src
LIBS = $(PVM_ARCH)/libpvmtracer.lib \
$(PVM_ROOT)/lib/$(PVM_ARCH)/libpvm3.lib
OBJS = $(PVM_ARCH)/cmd.obj $(PVM_ARCH)/trcglob.obj \
$(PVM_ARCH)/tracer.obj
LIBOBJS = $(PVM_ARCH)/trcmess.obj $(PVM_ARCH)/trcfile.obj \
$(PVM_ARCH)/trccompat.obj $(PVM_ARCH)/trccompatglob.obj \
$(PVM_ARCH)/trcutil.obj $(PVM_ARCH)/trclib.obj
all: paths $(PVM_ARCH)/libpvmtracer.lib tracer.exe
paths:
if not exist "$(PVM_ARCH)/$(NULL)" mkdir "$(PVM_ARCH)"
if not exist "../lib/$(PVM_ARCH)/$(NULL)" mkdir "../lib/$(PVM_ARCH)"
$(PVM_ARCH)/libpvmtracer.lib: $(LIBOBJS)
$(link) $(libspec) $(conflags) \
$(OUTBIN)$(PVM_ROOT)\tracer\$(PVM_ARCH)\libpvmtracer.lib \
$(LIBOBJS)
tracer.exe: $(OBJS) $(PVM_ARCH)/libpvmtracer.lib
$(link) $(OUTBIN)$(PVM_ROOT)\tracer\$(PVM_ARCH)\tracer.exe \
$(OBJS) $(LIBS) $(link_flags)
$(PVM_ARCH)/cmd.obj: cmd.c
$(cc) $(cflags) -c $(INCL) $(OUT)$(PVM_ARCH)/cmd.obj cmd.c
$(PVM_ARCH)/trcglob.obj: trcglob.c
$(cc) $(cflags) -c $(INCL) $(OUT)$(PVM_ARCH)/trcglob.obj trcglob.c
$(PVM_ARCH)/tracer.obj: tracer.c
$(cc) $(cflags) -c $(INCL) $(OUT)$(PVM_ARCH)/tracer.obj tracer.c
# LIB
$(PVM_ARCH)/trcmess.obj: trcmess.c
$(cc) $(cflags) -c $(INCL) $(OUT)$(PVM_ARCH)/trcmess.obj trcmess.c
$(PVM_ARCH)/trcfile.obj: trcfile.c
$(cc) $(cflags) -c $(INCL) $(OUT)$(PVM_ARCH)/trcfile.obj trcfile.c
$(PVM_ARCH)/trccompat.obj: trccompat.c
$(cc) $(cflags) -c $(INCL) $(OUT)$(PVM_ARCH)/trccompat.obj \
trccompat.c
$(PVM_ARCH)/trccompatglob.obj: trccompatglob.c
$(cc) $(cflags) -c $(INCL) $(OUT)$(PVM_ARCH)/trccompatglob.obj \
trccompatglob.c
$(PVM_ARCH)/trcutil.obj: trcutil.c
$(cc) $(cflags) -c $(INCL) $(OUT)$(PVM_ARCH)/trcutil.obj trcutil.c
$(PVM_ARCH)/trclib.obj: trclib.c
$(cc) $(cflags) -c $(INCL) $(OUT)$(PVM_ARCH)/trclib.obj trclib.c